package com.yuqing.sentimentapp.workspace.search.entity;

import com.linkface.baselibrary.http.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by shenhe on 2020/4/21.
 */
public class RegionResult extends BaseBean implements Serializable {

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * regions : [{"code":"130000","name":"河北省","sort":130000,"parentCode":"000000","treeCodes":"130000","tresNames":"河北省","treeSorts":"130000","status":"0","level":1,"lat":38.61384,"lng":115.66143}]
         * deptLevel : 1
         */

        private String deptLevel;
        private List<RegionsBean> regions;

        public String getDeptLevel() {
            return deptLevel;
        }

        public void setDeptLevel(String deptLevel) {
            this.deptLevel = deptLevel;
        }

        public List<RegionsBean> getRegions() {
            return regions;
        }

        public void setRegions(List<RegionsBean> regions) {
            this.regions = regions;
        }

        public static class RegionsBean implements Serializable{
            /**
             * code : 130000
             * name : 河北省
             * sort : 130000
             * parentCode : 000000
             * treeCodes : 130000
             * tresNames : 河北省
             * treeSorts : 130000
             * status : 0
             * level : 1
             * lat : 38.61384
             * lng : 115.66143
             */

            private String code;
            private String name;
            private int sort;
            private String parentCode;
            private String treeCodes;
            private String tresNames;
            private String treeSorts;
            private String status;
            private int level;
            private double lat;
            private double lng;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getParentCode() {
                return parentCode;
            }

            public void setParentCode(String parentCode) {
                this.parentCode = parentCode;
            }

            public String getTreeCodes() {
                return treeCodes;
            }

            public void setTreeCodes(String treeCodes) {
                this.treeCodes = treeCodes;
            }

            public String getTresNames() {
                return tresNames;
            }

            public void setTresNames(String tresNames) {
                this.tresNames = tresNames;
            }

            public String getTreeSorts() {
                return treeSorts;
            }

            public void setTreeSorts(String treeSorts) {
                this.treeSorts = treeSorts;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }
        }
    }

}
